<?php

ini_set('display_errors', 'On');
set_include_path(get_include_path() . PATH_SEPARATOR . '/srv/users-http/ant'
	. PATH_SEPARATOR . '/srv/users-http/ant/Giocondo/html');

require 'Giocondo/php/Init.php';

$but = new Button(array(
	'text'      => 'Delete',
	#'onClicked' => '$box->delete()'
));

$label = new Label('una prova');
$entry = new Entry();
$box = new Box(array(
	'label'       => 'My Blog',
	'orientation' => 'vertical',
	'children'    => array($label, $entry)
));

$mbox = new Box(array(
	'children' => array($but, $box)
));

$main_win = new Window(array(
	'title' => 'example: delete',
	'child' => $mbox
));

main_loop();
# There should be no more code after main_loop.

# End of file
# vim: set ts=2 sw=2 noet:
?>
